package com.gaofei.alipay.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "goods-server",path = "goods")
public interface OrderFeign {
    @RequestMapping("updateOrderStatus")
    public String updateOrderStatus(@RequestParam("orderId") Integer orderId);

    @RequestMapping("searchOrderWithNopay")
    public List<TbOrder> searchOrderWithNopay(@RequestParam("orderStatus") String orderStatus);
}
